﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace GolfSigma.Inventory.Model
{
    public class GetReservationRequest : IRequest
    {
        public UInt64 ReservationId { get; set; }

        #region IRequest Members

        public string HttpVerb
        {
            get { return "GET"; }
        }

        public string HttpPath
        {
            get { return "/reservation/" + ReservationId.ToString(); }
        }

        public IDictionary<string, string> HttpParameters
        {
            get { return null; }
        }

        public IDictionary<string, string> HttpHeaders
        {
            get { return null; }
        }

        #endregion
    }

    [XmlRoot("Response")]
    public class GetReservationResponse
    {
        [XmlElement("Reservation")]
        public Reservation Reservation { get; set; }

        [XmlElement("ResponseMetadata")]
        public ResponseMetadata ResponseMetadata { get; set; }
    }
}
